home *** CD-ROM | disk | FTP | other *** search
- Path: anvil.ugrad.cs.ubc.ca!not-for-mail
- From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
- Newsgroups: comp.lang.c
- Subject: Re: Sort Function
- Date: 2 Apr 1996 09:24:58 -0800
- Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
- Message-ID: <4jrntaINN7hl@anvil.ugrad.cs.ubc.ca>
- References: <4jmq99$cqi@freenet-news.carleton.ca> <4jpbdcINN16c@keats.ugrad.cs.ubc.ca> <828449009snz@genesis.demon.co.uk>
- NNTP-Posting-Host: anvil.ugrad.cs.ubc.ca
-
- In article <828449009snz@genesis.demon.co.uk>,
- Lawrence Kirby <fred@genesis.demon.co.uk> wrote:
- >In article <4jpbdcINN16c@keats.ugrad.cs.ubc.ca>
- > c2a192@ugrad.cs.ubc.ca "Kazimir Kylheku" writes:
- >
- >>The superflous (tmp = tmp) expression is required to supply the syntactic
- >>requirements of the conditional statement: the expressions are not optional
- >>like for example in for(;;).
- >
- >Or you could simply write tmp there.
-
- Right, or even just a zero. But I wanted it to be clear that I'm writing a
- wasteful expression. I should also have written ((tmp)=(tmp)), because someone
- provide an lvalue which uses operantors that have lower precedence than '='.
-
- I think that a simple zero would be better after all!
- --
-
-